package com.lanhe.game.tixian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.lanhe.game.tixian.domain.LhGameTxRec;
import com.lanhe.game.tixian.mapper.LhGameTxRecMapper;
import com.lanhe.game.tixian.service.ILhGameTxRecService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * 用户提现记录(LhMemberWithdrawalRec)表服务实现类
 *
 * @author zhanggl
 * @since 2024-01-05 21:35:21
 */
@Service
public class LhGameTxRecServiceImpl extends ServiceImpl<LhGameTxRecMapper, LhGameTxRec> implements ILhGameTxRecService {

	@Autowired
	private LhGameTxRecMapper lhGameTxRecMapper;

	/**
	 * 增加
	 *
	 * @param memberWithdrawalRecords 实体
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	@Override
	public void insertWithdrawalRecord(LhGameTxRec memberWithdrawalRecords) {
		memberWithdrawalRecords.setCreateTime(new Date());
		lhGameTxRecMapper.insert(memberWithdrawalRecords);
	}

}

